package com.ruoyi.wvp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 读卡器对象 wvp_card_reader
 * 
 * @author ruoyi
 * @date 2024-07-29
 */
@Setter
@Getter
@ToString
public class CardReaderImport {
    private static final long serialVersionUID = 1L;



    /** 设备序列号 */
    @Schema(title = "设备序列号")
    @Excel(name = "设备序列号")
    @NotBlank
    private String serialNumber;
    @Excel(name = "运行状态")
    @TableField(exist = false)
    private String deviceStatusStr;

    /** 设备品牌 */
    @Schema(title = "设备品牌")
    @Excel(name = "设备品牌")
    @NotBlank
    private String deviceBrand;
    /** 设备型号 */
    @Schema(title = "设备型号")
    @Excel(name = "设备型号")
    @NotBlank
    private String deviceModel;
    /** 设备名称 */
    @Schema(title = "投放点名称")
    @Excel(name = "投放点名称")
    @NotBlank
    private String deviceName;

    /** 物理地址 */
    @Schema(title = "MAC地址")
    @Excel(name = "MAC地址")
    @NotBlank
    private String macAddress;


    /** 区名称 */
    @Schema(title = "辖区")
    @Excel(name = "辖区")
    @NotBlank
    private String areaName;
    /** 街道名称 */
    @Schema(title = "街道")
    @Excel(name = "街道")
    @NotBlank
    private String streetName;
    /** 社区 */
    @Schema(title = "社区")
    @Excel(name = "社区")
    @NotBlank
    private String community;
    /** 小区名称 */
    @Schema(title = "小区")
    @Excel(name = "小区")
    @NotBlank
    private String residentialName;




    /** 登记时间 */
    @Schema(title = "登记时间")
    @Excel(name = "登记时间")
    private String registerTime;
    /**
     * 更新者
     */
    @Schema(title = "修改人")
    @Excel(name="修改人")
    private String updateByS;

    /**
     * 更新时间
     */
    @Schema(title = "修改时间")
    @Excel(name="修改时间")
    private String editTimeS;
    /** 接入状态 */
    @Schema(title = "接入状态")
    @Excel(name = "接入状态")
    private Integer accessStatusS;
    /** 接入时间 */
    @Schema(title = "接入时间")
    @Excel(name = "接入时间")
    private String accessTime;


    @Excel(name="备注")
    private String remark;
}
